<template>
	<view class="container">
		<u-navbar title=""></u-navbar>
		<view class="success-info">
			<image src="/static/icon_cg_67.png" mode=""></image>
			<text class="success-text">提交成功</text>
			<text class="success-text-sub">等待师傅接单</text>
		</view>
		<view class="relaunchToindex" @tap="relaunchToindex()">返回首页</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			relaunchToindex(){
				uni.reLaunch({
					url:'/pages/index/index'
				});
			}
		}
	}
</script>

<style lang="scss">
    page{
		width: 100%;
		height: 100%;
	}
	.container{
		width: 100%;
		height: 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		flex-direction: column;
		.success-info{
			margin-top: 30rpx;
			image{
				width: 100rpx;
			    height: 100rpx;
			}
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			.success-text{font-size: 40rpx;margin-top: 30rpx;display: block;width: 100%;text-align: center;}
			.success-text-sub{color: rgba(136, 136, 136, 1);font-size: 25rpx;margin-top: 30rpx;}
		}
		.relaunchToindex{border: 1rpx solid #888;border-radius: 40rpx;box-sizing: border-box;width: 400rpx;height: 70rpx;display: flex;justify-content: center;align-items: center;margin-top: 60rpx;}
	}
</style>
